Package com.cisco.pt.ipc.ui.impl
Class SystemFileWatcherImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.ui.impl.SystemFileWatcherImpl
- All Implemented Interfaces:
IPCObject,SystemFileWatcher
Information provided by the PKI file:
\class SystemFileWatcher
\brief SystemFileWatcher provides monitoring of files and directories in the local system.
\example systemFileManager().getFileWatcher()
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionSystemFileWatcherImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddPath()Information provided by the PKI file:booleanInformation provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Constructor Details
-
SystemFileWatcherImpl
public SystemFileWatcherImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
addPath
public boolean addPath()Information provided by the PKI file:
\brief Add a file or directory to watch for changes. \param path, the full path of the file or directory to watch \return bool, true if successful, false otherwise- Specified by:
addPathin interfaceSystemFileWatcher- Returns:
- boolean Returns a boolean
-
removePath
public boolean removePath()Information provided by the PKI file:
\brief Stop watching a file or directory for changes. \param path, the full path of the file or directory to stop watching \return bool, true if successful, false otherwise- Specified by:
removePathin interfaceSystemFileWatcher- Returns:
- boolean Returns a boolean
-